<style type="text/css">
	.exportpdf_print{
		margin:50px 100px;
	}
</style>
<?php
	$listTemplate = $this->getListTemplate();
?>
<div class="exportpdf_print">	
	<h3>Select Template PDF</h3>
	<form name="exportpdf_print_form" id="exportpdf_print_form" action="<?php echo $this->getActionUrl()?>" method="post">
		<?php echo $this->getBlockHtml('formkey')?>
		<select name="template_pdf" id="template_pdf">
			<?php foreach($listTemplate as $id=>$title){?>
				<option value="<?php echo $id;?>"><?php echo $title;?></option>
			<?php }?>
		</select>
		<button class="scalable save" style="" onclick="templateSubmit();" type="button">
			<span>Export</span>
		</button>
		<input type="hidden" name="type" value="<?php echo $this->getType()?>" />
		<input type="hidden" name="id" value="<?php echo $this->getId()?>" />
	</form>
</div>
<script type="text/javascript">
	var templateForm = new varienForm('exportpdf_print_form');
	function templateSubmit(){
		templateForm.submit();
	}
</script>